package com.woniu.shop.pojo;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品评价回复表
 * </p>
 *
 * @author LiFangyu
 * @since 2023-02-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_reply_comment")
@ApiModel(value="ReplyComment对象", description="商品评价回复表")
public class ReplyComment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "回复评价id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "商品id")
    private String productId;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "回复内容")
    private String replyContent;

    @ApiModelProperty(value = "回复时间")
    private Date createdTime;

    @ApiModelProperty(value = "回复的父评论id")
    private String parentId;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private String isDeleted;

}
